#include "individualstockw.h"
#include "ui_individualstockw.h"
#include"klinegrid.h"
#include"kvolumegrid.h"
#include<QSplitter>

IndividualStockW::IndividualStockW(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::IndividualStockW)
{
    ui->setupUi(this);

    /*
    pgrid=new KVolumeGrid(this);
    pgrid->setObjectName(tr("kline"));
    pgrid->setFocusPolicy(Qt::StrongFocus);

    auto p2=new KLineGrid(this);
    p2->setFocusPolicy(Qt::StrongFocus);

    //setCentralWidget(pgrid);

    QSplitter *splitterMain=new QSplitter(Qt::Vertical,0); //新建主分割窗口，水平分割
    QSplitter *splitterLeft = new QSplitter(Qt::Vertical, splitterMain);
    QSplitter *splitterRight = new QSplitter(Qt::Vertical, splitterMain);

    splitterMain->setHandleWidth(1);

    splitterLeft->addWidget(p2);
    splitterRight->addWidget(pgrid);

   // this->setCentralWidget(splitterMain);
   */

}

IndividualStockW::~IndividualStockW()
{
    delete ui;
}
